package com.wonders.hisdoctor.station.project.vaccine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wonders.hisdoctor.station.project.vaccine.domain.VaccineStock;
import com.wonders.hisdoctor.station.project.vaccine.vo.SetStatusVo;
import com.wonders.hisdoctor.station.project.vaccine.vo.VaccineStockRequestVo;
import com.wonders.hisdoctor.station.project.vaccine.vo.VaccineStockVo;

import java.util.List;

/**
 * <p>疫苗库存表 dao </p>
 * <p>db_table: VACCINE_STOCK</p>
 * @author zhanghaonan
 * @date 2021/06/25
 */
public interface VaccineStockMapper extends BaseMapper<VaccineStock> {

    /**
     * @Author zhanghaonan
     * @Date 2021/6/25
     * @Description  模糊查询
     * @Param vo
     * @return java.util.List<com.wonders.hisdoctor.station.project.vaccine.vo.VaccineStockVo>
     **/
    List<VaccineStockVo> search(VaccineStockRequestVo vo);

    /**
     *  设置疫苗状态
     * @param vo
     * @return
     */
    int setStatus(SetStatusVo vo);
}
